projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78107b1
)
GtkMountOperation: Return the right password_save
author
Alexander Larsson
<alexl@redhat.com>
Mon, 20 Aug 2012 15:06:14 +0000
(17:06 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Mon, 20 Aug 2012 15:07:54 +0000
(17:07 +0200)
If the buttons were never sent we returned the wrong
default value (i.e. not what the UI displayed).
gtk/gtkmountoperation.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmountoperation.c
b/gtk/gtkmountoperation.c
index 6fde8e877a9c6ba8c9322d55d6998d8bbb5c6814..9b1d544600ac4a6f4edfd744dd160e4a00c9c356 100644
(file)
--- a/
gtk/gtkmountoperation.c
+++ b/
gtk/gtkmountoperation.c
@@
-657,6
+657,7
@@
gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
FALSE, FALSE, 0);
password_save = g_mount_operation_get_password_save (G_MOUNT_OPERATION (operation));
+ priv->password_save = password_save;
choice = gtk_radio_button_new_with_mnemonic (NULL, _("Forget password _immediately"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (choice),